package com.travelshare.common.core.domain.entity;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class TreeColumnModel {

	private Long columnId;
	private Long parentId;
	private String columnName;
	@JsonIgnore
	private String state;
	@JsonIgnore
	private String isCommunity;

	private String isPic;
	private String columIcon;
	private List<TreeColumnModel> children = new ArrayList<TreeColumnModel>();

	public String getColumIcon() {
		return columIcon;
	}

	public void setColumIcon(String columIcon) {
		this.columIcon = columIcon;
	}

	public TreeColumnModel() {
		super();
	}

	public TreeColumnModel(Long columnId, Long parentId, String columnName, String state, String columIcon) {
		super();
		this.columnId = columnId;
		this.parentId = parentId;
		this.columnName = columnName;
		this.state = state;
		this.columIcon = columIcon;
	}

	public Long getColumnId() {
		return columnId;
	}

	public void setColumnId(Long columnId) {
		this.columnId = columnId;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getIsCommunity() {
		return isCommunity;
	}

	public void setIsCommunity(String isCommunity) {
		this.isCommunity = isCommunity;
	}

	public String getIsPic() {
		return isPic;
	}

	public void setIsPic(String isPic) {
		this.isPic = isPic;
	}

	public List<TreeColumnModel> getChildren() {
		return children;
	}

	public void setChildren(List<TreeColumnModel> children) {
		this.children = children;
	}
}
